package com.icss.train_sys_back.entity.home;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 订单关联乘车人实体类
 * 对应数据库表：t_order_passenger
 * 记录一个订单可能有多个乘车人的关联关系
 *
 * @author System
 * @version 1.0
 * @since 2025-10-13
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderPassengerEntity {

    /**
     * 订单关联乘车人主键 - 自增主键
     */
    private Integer orderPassengerId;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 乘车人ID
     */
    private Integer passengerId;

    /**
     * 座位关联ID
     */
    private Integer seatId;
}
